package com.example.myapplication;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class LoginActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_login);
        if(getSupportActionBar()!=null){
            getSupportActionBar().hide();
        }
        Button button=findViewById(R.id.login_button);
        button.setOnClickListener(v -> {
            Intent intent=new Intent();
            intent.setClass(LoginActivity.this,ChooseActivity.class);
            startActivity(intent);
        });
    }
}
